package admin

type PostParams struct {
	Id            int
	IsTop         int    `json:"is_top" binding:"required"`
	IsHot         int    `json:"is_hot" binding:"required"`
	ViewsCount    int    `json:"views_count" binding:"required"`
	CommentsCount int    `json:"comments_count" binding:"required"`
	CategoryId    int    `json:"category_id" binding:"required"`
	Banner        string `json:"banner" binding:"required"`
	Summary       string `json:"summary" binding:"required"`
	Content       string `json:"content" binding:"required"`
	Title         string `json:"title" binding:"required"`
	Text          string `json:"text" binding:"required"`
}
